package com.zmn.brs.persistence.interfaces.objective.rule;

import com.zmn.brs.model.query.rule.ObjectiveRuleCustom;
import com.zmn.brs.model.query.rule.ObjectiveRuleCustomQuery;
import java.util.List;



/**
 * 
 * 
 * @author chongw
 *
 * @since 2021-05-28 17:05:29
 */
public interface ObjectiveRuleDao {

    /**
     * 分页查询事件下规则
     * @param query
     * @return
     */
    List<ObjectiveRuleCustom> listPageObjectiveRuleByQuery(ObjectiveRuleCustomQuery query);

    /**
     * 查询事件下规则
     * @param query
     * @return
     */
    List<ObjectiveRuleCustom> listObjectiveRuleByQuery(ObjectiveRuleCustomQuery query);

    /**
     * 查询规则数量
     * @param query
     * @return
     */
    Integer countObjectiveRuleByQuery(ObjectiveRuleCustomQuery query);
}
